import service from './request'
//查询所有食物
export const getFoods = data => {
    return service({
        url: '/wxjx/food/common/food/qF',
        method: 'get',
        data
    })
};
//查询用户关注绑定
export const checkUser = data => {
    return service({
        url: '/wxjx/food/common/user/cU',
        method: 'get',
        data
    })
};
//获取绑定手机号
export const getBindPhone = data => {
    return service({
        url: '/api/wm/v1/bind/getBindingMobile',
        method: 'get',
        data
    })
};
//选择食材
export const chooseFood = data => {
    return service({
        url: '/wxjx/food/common/user/j',
        method: 'get',
        data
    })
};
//查询收集食材的情况
export const checkMyFood = data => {
    return service({
        url: '/wxjx/food/common/user/cM',
        method: 'get',
        data
    })
};
//查询分数详情
export const queryHelp = data => {
    return service({
        url: '/wxjx/food/common/user/qS',
        method: 'get',
        data
    })
};
//查询用户是否助力
export const queryUserHelp = data => {
    return service({
        url: '/wxjx/food/common/user/qH',
        method: 'get',
        data
    })
};
//帮助别人收集食材
export const helpResearch = data => {
    return service({
        url: '/wxjx/food/common/user/hC',
        method: 'get',
        data
    })
};
//抽奖 
export const drawLottery = data => {
    return service({
        url: '/wxjx/food/common/prize/d',
        method: 'get',
        data
    })
};
//查询奖品信息
export const queryPrize = data => {
    return service({
        url: '/wxjx/food/common/prize/qP',
        method: 'get',
        data
    })
};
//填写手机号
export const getPrize = data => {
    return service({
        url: '/wxjx/food/common/prize/rP',
        method: 'get',
        data
    })
};